package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 评分模板
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "blade_maintain_score_template")
public class MaintainScoreTemplate extends TenantEntity {
    /**
     * 名称
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 总分
     */
    @TableField(value = "total_score")
    private Integer totalScore;

    /**
     * 工单类型 对应工单主表type_status
     */
    @TableField(value = "plan_type")
    private Integer planType;
    /**
     * 评分项
     */
    @TableField(exist = false)
    private List<MaintainScoreTemplateNature> scoreTemplateNatures;
}